<!DOCTYPE html>
<html lang="en">
<head>
    <title>Form_validation</title>
</head>
<body>
<section id="container">
    <#include "sider.ftl"/>

    <!--main content start-->
    <section id="main-content">
        <section class="wrapper">
            <div class="form-w3layouts">
                <!-- page start-->
                <div class="row">
                    <div class="col-lg-12">
                        <section class="panel">
                            <header class="panel-heading">
                                Basic validations
                                <span class="tools pull-right">
                                <a class="fa fa-chevron-down" href="javascript:;"></a>
                                <a class="fa fa-cog" href="javascript:;"></a>
                                <a class="fa fa-times" href="javascript:;"></a>
                             </span>
                            </header>
                            <div class="panel-body">
                                <form role="form" class="form-horizontal ">
                                    <div class="form-group has-success">
                                        <label class="col-lg-3 control-label">sample 1</label>
                                        <div class="col-lg-6">
                                            <input type="text" placeholder="" id="f-name" class="form-control">
                                            <p class="help-block">Successfully done</p>
                                        </div>
                                    </div>
                                    <div class="form-group has-error">
                                        <label class="col-lg-3 control-label">sample 2</label>
                                        <div class="col-lg-6">
                                            <input type="text" placeholder="" id="l-name" class="form-control">
                                            <p class="help-block">You gave a wrong info</p>
                                        </div>
                                    </div>
                                    <div class="form-group has-warning">
                                        <label class="col-lg-3 control-label">sample 3</label>
                                        <div class="col-lg-6">
                                            <input type="email" placeholder="" id="email2" class="form-control">
                                            <p class="help-block">Something went wrong</p>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <div class="col-lg-offset-3 col-lg-6">
                                            <button class="btn btn-primary" type="submit">Submit</button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </section>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-12">
                        <section class="panel">
                            <header class="panel-heading">
                                Form validations
                                <span class="tools pull-right">
                                <a class="fa fa-chevron-down" href="javascript:;"></a>
                                <a class="fa fa-cog" href="javascript:;"></a>
                                <a class="fa fa-times" href="javascript:;"></a>
                             </span>
                            </header>
                            <div class="panel-body">
                                <div class=" form">
                                    <form class="cmxform form-horizontal " id="commentForm" method="get" action="" novalidate="novalidate">
                                        <div class="form-group ">
                                            <label for="cname" class="control-label col-lg-3">Name (required)</label>
                                            <div class="col-lg-6">
                                                <input class=" form-control" id="cname" name="name" minlength="2" type="text" required="">
                                            </div>
                                        </div>
                                        <div class="form-group ">
                                            <label for="cemail" class="control-label col-lg-3">E-Mail (required)</label>
                                            <div class="col-lg-6">
                                                <input class="form-control " id="cemail" type="email" name="email" required="">
                                            </div>
                                        </div>
                                        <div class="form-group ">
                                            <label for="curl" class="control-label col-lg-3">URL (optional)</label>
                                            <div class="col-lg-6">
                                                <input class="form-control " id="curl" type="url" name="url">
                                            </div>
                                        </div>
                                        <div class="form-group ">
                                            <label for="ccomment" class="control-label col-lg-3">Your Comment (required)</label>
                                            <div class="col-lg-6">
                                                <textarea class="form-control " id="ccomment" name="comment" required=""></textarea>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-lg-offset-3 col-lg-6">
                                                <button class="btn btn-primary" type="submit">Save</button>
                                                <button class="btn btn-default" type="button">Cancel</button>
                                            </div>
                                        </div>
                                    </form>
                                </div>

                            </div>
                        </section>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-12">
                        <section class="panel">
                            <header class="panel-heading">
                                Advanced Form validations
                                <span class="tools pull-right">
                                <a class="fa fa-chevron-down" href="javascript:;"></a>
                                <a class="fa fa-cog" href="javascript:;"></a>
                                <a class="fa fa-times" href="javascript:;"></a>
                             </span>
                            </header>
                            <div class="panel-body">
                                <div class="form">
                                    <form class="cmxform form-horizontal " id="signupForm" method="get" action="" novalidate="novalidate">
                                        <div class="form-group ">
                                            <label for="firstname" class="control-label col-lg-3">Firstname</label>
                                            <div class="col-lg-6">
                                                <input class=" form-control" id="firstname" name="firstname" type="text">
                                            </div>
                                        </div>
                                        <div class="form-group ">
                                            <label for="lastname" class="control-label col-lg-3">Lastname</label>
                                            <div class="col-lg-6">
                                                <input class=" form-control" id="lastname" name="lastname" type="text">
                                            </div>
                                        </div>
                                        <div class="form-group ">
                                            <label for="username" class="control-label col-lg-3">Username</label>
                                            <div class="col-lg-6">
                                                <input class="form-control " id="username" name="username" type="text">
                                            </div>
                                        </div>
                                        <div class="form-group ">
                                            <label for="password" class="control-label col-lg-3">Password</label>
                                            <div class="col-lg-6">
                                                <input class="form-control " id="password" name="password" type="password">
                                            </div>
                                        </div>
                                        <div class="form-group ">
                                            <label for="confirm_password" class="control-label col-lg-3">Confirm Password</label>
                                            <div class="col-lg-6">
                                                <input class="form-control " id="confirm_password" name="confirm_password" type="password">
                                            </div>
                                        </div>
                                        <div class="form-group ">
                                            <label for="email" class="control-label col-lg-3">Email</label>
                                            <div class="col-lg-6">
                                                <input class="form-control " id="email" name="email" type="email">
                                            </div>
                                        </div>
                                        <div class="form-group ">
                                            <label for="agree" class="control-label col-lg-3 col-sm-3">Agree to Our Policy</label>
                                            <div class="col-lg-6 col-sm-9">
                                                <input type="checkbox" style="width: 20px" class="checkbox form-control" id="agree" name="agree">
                                            </div>
                                        </div>
                                        <div class="form-group ">
                                            <label for="newsletter" class="control-label col-lg-3 col-sm-3">Receive the Newsletter</label>
                                            <div class="col-lg-6 col-sm-9">
                                                <input type="checkbox" style="width: 20px" class="checkbox form-control" id="newsletter" name="newsletter">
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <div class="col-lg-offset-3 col-lg-6">
                                                <button class="btn btn-primary" type="submit">Save</button>
                                                <button class="btn btn-default" type="button">Cancel</button>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </section>
                    </div>
                </div>
                <!-- page end-->
            </div>
        </section>
        <#include "/foot.html">
    </section>

    <!--main content end-->
</section>
<#--<script src="/js/bootstrap.js"></script>
<script src="/js/jquery.dcjqaccordion.2.7.js"></script>
<script src="/js/scripts.js"></script>
<script src="/js/jquery.slimscroll.js"></script>
<script src="/js/jquery.nicescroll.js"></script>
<script src="/js/jquery.scrollTo.js"></script>-->
</body>
</html>
